package com.xbongbong.pay.platform.wechatpay.pojo.request.h5;

import com.alibaba.fastjson.annotation.JSONField;
import com.xbongbong.pay.platform.wechatpay.pojo.request.WeChatBaseRequest;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 微信支付订单号查询
 * @author 魏荣杰
 * @date 2021/1/7 16:17
 * @since
 * @version
 */
@Setter
@Getter
public class WeChatQueryOrder4WeChatRequest extends WeChatBaseRequest {
    private static final long serialVersionUID = -3129330321171493895L;
    /**
     * 直连商户的商户号，由微信支付生成并下发。
     * 示例值：1230000109
     */
    @NotBlank
    @Size(min = 1, max = 32)
    @JSONField(name = "mchid")
    private String mchId;
    /**
     *
     */
    @NotBlank
    @Size(min = 1, max = 32)
    @JSONField(name = "transaction_id", serialize = false)
    private String transactionId;
}
